package com.aspose.cells;

public class SolidFill extends Fill {
   zakp a = new zakp(true);
   zakp b = new zakp(true);
   private Object d;
   Workbook c;

   SolidFill(Object parent, Workbook workbook) {
      this.d = parent;
      this.c = workbook;
   }

   public Color getColor() {
      return this.a.b(this.c);
   }

   public void setColor(Color value) {
      this.a.a(2, value.toArgb());
      if (this.d instanceof Area) {
         Area var2 = (Area)this.d;
         var2.b();
      }

   }

   public CellsColor getCellsColor() {
      return new CellsColor(this.c, this.a);
   }

   public void setCellsColor(CellsColor value) {
      this.a = value.a;
      if (this.d instanceof Area) {
         Area var2 = (Area)this.d;
         var2.b();
      }

   }

   Color a() {
      return this.b.b(this.c);
   }

   void a(Color var1) {
      this.b.a(2, var1.toArgb());
      if (this.d instanceof Area) {
         Area var2 = (Area)this.d;
         var2.b();
      }

   }

   public double getTransparency() {
      return zakp.d(this.a);
   }

   public void setTransparency(double value) {
      this.a = zakp.a(this.a, value);
   }

   int b() {
      return zakp.e(this.a);
   }

   void a(int var1) {
      this.a = zakp.a(this.a, var1);
   }

   void a(SolidFill var1, CopyOptions var2) {
      if (var1.a != null) {
         this.a = new zakp(true);
         this.a.a(var1.a, var2);
      } else {
         this.a = null;
      }

      if (var1.b != null) {
         this.b = new zakp(true);
         this.b.a(var1.b, var2);
      } else {
         this.b = null;
      }

   }

   boolean a(SolidFill var1, zma var2) {
      if (!zakp.a(this.a, var1.a, var2)) {
         return false;
      } else {
         return zakp.a(this.b, var1.b, var2);
      }
   }
}
